package com.spring.service;

import com.spring.entity.Company;
import com.spring.entity.Position;

import java.util.List;

public interface PositionService {

    public List<Position> find(String pname, Double minSal, Double maxSal);

    public Position findById(Integer pid);

    public List<Company> findAllComp();

    public void add(Position position);

    public void replace(Position position);

    public void remove(Integer pid);

    void addCompany(Company company);

    void updatePhoto(Company company);
}
